package com.campus.customer.bean.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
@ApiModel(value = "OrderGoodsBean对象", description = "订单商品提交参数")
public class OrderGoodsBean {

    @ApiModelProperty("商品ID")
    private Integer id;

    @ApiModelProperty("商品名称")
    private String name;

    @ApiModelProperty("商品价格")
    private BigDecimal price;

    @ApiModelProperty("商品原价")
    private BigDecimal originalPrice;

    @ApiModelProperty("商品图片")
    private String image;

    @ApiModelProperty("规格信息")
    private List<Specification> specifications;

    @ApiModelProperty("数量")
    private Integer quantity;

}
